import { Entity, PrimaryGeneratedColumn } from "typeorm";
import { Code, CreateDate, Digdit, Int, Mobile, UpdateDate } from "../utils";


@Entity({
    name: 'ks_live_room_join_count'
})
export class KsLiveRoomJoinCount {
    @PrimaryGeneratedColumn()
    id: number;

    @Code({ default: '' })
    date: string;

    @Digdit({ default: 0 })
    count: number;

    @Int(11, { default: 0 })
    room_id: number;

    @Mobile({ default: '' })
    mobile: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}
